import {MenuModel} from "/@/api/system/model/MenuModel";

export interface RoleModel {
    roleId: string,
    roleName: string,
    enabled: number,
    roleCode: string,
    orderNum: number,
    disabled?: boolean
}

export interface RoleQueryModel {
    roleName?: string,
    roleCode?: string,
    current: number,
    size: number,
    total: number
}

export interface RoleMenuModel {
    roleMenuId?: string,
    menuId: string,
    roleId?: string,
}
export interface RoleMenuVOModel {
    menuAuthAll: MenuModel[],
    menuIds: string[]

}
export interface RoleMenuQueryModel {
    roleMenus: RoleMenuModel[],
    roleId: string
}
